var fs = require('fs');

fs.readFile('z.txt',function(err,data)
{
	if (err)
	 {
	 	console.log("报错详情如下\n"+err.stack);
	 	return;
	 }
	 console.log(data.toString());
});
console.log('程序结束');